package view.GUI;

import controller.Controller;
import javax.swing.UIManager;

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
/**
 *
 * @author Jelle
 */
public class Main {

    public static void main(String args[]) {
        java.awt.EventQueue.invokeLater(new Runnable() {

            public void run() {
                try {
                    UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());
                } catch (Exception e) {
                    System.out.println("Main EXCEPTION " + e.getMessage());
                    e.printStackTrace();
                }

                Controller controller = new Controller();

                MainFrame frame = new MainFrame(controller);
                frame.setDefaultLookAndFeelDecorated(true);
                frame.setTitle(LabelReader.getInstance().getString("Title"));
                frame.pack();
                frame.setVisible(true);


            }
        });
    }
}
